/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package database;

import java.io.Serializable;
import java.util.Objects;

/**
 *
 * @author Comarch
 */
public class User implements Serializable{
    public String name;
    public String pass;
    
    @Override
    public boolean equals(Object o){
    return name.equals(((User)o).name);
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 41 * hash + Objects.hashCode(this.name);
        return hash;
    }
}
